<template>
  <div class="jifen">
    <div class="w">
      <div class="title">
        <div class="title__l">
          <img src="../../assets/img/score.png" alt="" />
          <h2>积分攻略</h2>
        </div>
      </div>
    </div>
    <ul class="w jifen__ul">
      <li>
        <h4>签到得鸡腿</h4>
        <div>去签到</div>
      </li>
      <li>
        <h4>购课得鸡腿</h4>
        <div>去购课</div>
      </li>
      <li>
        <h4>推荐得鸡腿</h4>
        <div>去推荐</div>
      </li>
      <li>
        <h4>做任务得鸡腿</h4>
        <div>做任务</div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "JiFen",
};
</script>
<style lang='less' scoped>
.title {
  display: flex;
  height: 106px;
  align-items: center;
  &__l {
    display: flex;
    justify-content: space-between;
    h2 {
      font-size: 30px;
      color: #242b39;
      font-weight: 700;
      margin-left: 10px;
    }
  }
}
.jifen {
  width: 100%;
  padding-bottom: 47px;
  background-color: #fff;
  &__ul {
    height: 168px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  li {
    color: #fff;
    width: 285px;
    height: 168px;
    padding-top: 43px;
    padding-left: 29px;
    box-sizing: border-box;
    transition: background-size 0.5s linear;
    background-size: 100% 100%;
    cursor: pointer;
    & > h4 {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 19px;
    }
    & > div {
      width: 96px;
      height: 27px;
      border: 1px solid #fff;
      text-align: center;
      line-height: 27px;
    }
    &:hover {
      background-size: 104% 104%;
    }
    &:nth-of-type(1) {
      background-image: url(../../assets/img/integral-01.9386d4bf.png);
    }
    &:nth-of-type(2) {
      background-image: url(../../assets/img/integral-02.150d92a1.png);
    }
    &:nth-of-type(3) {
      background-image: url(../../assets/img/integral-03.9870f3f1.png);
    }
    &:nth-of-type(4) {
      background-image: url(../../assets/img/integral-04.afadcbdf.png);
    }
  }
}
</style>